package com.cainiaoshixi.admin.service.Impl;

import com.cainiaoshixi.admin.dao.UsersMapper;
import com.cainiaoshixi.admin.entity.Users;
import com.cainiaoshixi.admin.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: Chy
 * @Description:
 * @Date: Created at 22:21 2018/2/7
 */
@Service
public class UserServiceImpl implements IUserService{
    @Autowired
    private UsersMapper usersMapper;

    public Users getUserByUserName(String name) {
        return usersMapper.getUserByUserName(name);
    }
}